package org.qloudgen.borg.messaging.message;

import java.io.Serializable;

public class TaskMessage implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String taskNo;
	private String userNo;
	private String funcNo;
	private String dsNo;
	private String clusterID;
	private String cacheID;
	private String params;
	private String preFailedStatus;
	private boolean reload;

	/**
	 * @return the dsNo
	 */
	public String getDsNo() {
		return dsNo;
	}

	/**
	 * @param dsNo the dsNo to set
	 */
	public TaskMessage setDsNo(String dsNo) {
		this.dsNo = dsNo;
		return this;
	}

	/**
	 * @return the clusterID
	 */
	public String getClusterID() {
		return clusterID;
	}

	/**
	 * @param clusterID the clusterID to set
	 */
	public TaskMessage setClusterID(String clusterID) {
		this.clusterID = clusterID;
		return this;
	}

	/**
	 * @return the params
	 */
	public String getParams() {
		return params;
	}

	/**
	 * @param params the params to set
	 */
	public TaskMessage setParams(String params) {
		this.params = params;
		return this;
	}

	/**
	 * @return the userNo
	 */
	public String getUserNo() {
		return userNo;
	}

	/**
	 * @param userNo the userNo to set
	 */
	public TaskMessage setUserNo(String userNo) {
		this.userNo = userNo;
		return this;
	}

	/**
	 * @return the funcNo
	 */
	public String getFuncNo() {
		return funcNo;
	}

	/**
	 * @param funcNo the funcNo to set
	 */
	public TaskMessage setFuncNo(String funcNo) {
		this.funcNo = funcNo;
		return this;
	}

	/**
	 * @return the taskNo
	 */
	public String getTaskNo() {
		return taskNo;
	}

	/**
	 * @param taskNo the taskNo to set
	 */
	public TaskMessage setTaskNo(String taskNo) {
		this.taskNo = taskNo;
		return this;
	}

	/**
	 * @return the preFailedStatus
	 */
	public String getPreFailedStatus() {
		return preFailedStatus;
	}

	/**
	 * @param preFailedStatus the preFailedStatus to set
	 */
	public TaskMessage setPreFailedStatus(String preFailedStatus) {
		this.preFailedStatus = preFailedStatus;
		return this;
	}

	/**
	 * @return the cacheID
	 */
	public String getCacheID() {
		return cacheID;
	}

	/**
	 * @param cacheID the cacheID to set
	 */
	public TaskMessage setCacheID(String cacheID) {
		this.cacheID = cacheID;
		return this;
	}

	/**
	 * @return the reload
	 */
	public boolean isReload() {
		return reload;
	}

	/**
	 * @param reload the reload to set
	 */
	public TaskMessage setReload(boolean reload) {
		this.reload = reload;
		return this;
	}
	
	
}
